import request from '@/utils/request';
//获取视频列表接口
export function getVideoList(data:any) {
  return request("/VueHandler/VideoHandler?action=showlist", "post", data)
}
// 上传视频接口
export function upVideoApi(data:any) {
  return request("/VueHandler/UpLoadVideoHandler", "post", data, "mul")
}
// 添加视频
export function addVideoApi(data:any) {
  return request("/VueHandler/VideoHandler?action=add", "post", data)
}
//删除视频
export function delVideo(ID:any) {
  return request("/VueHandler/VideoHandler?action=delete", "get", { ID: ID })
}
// 编辑视频接口
export function editVideo(data:any) {
  return request("/VueHandler/VideoHandler?action=update", "post", data)
}